package gui.ClassroomMenu;

import java.util.HashMap;
import java.util.List;
import java.util.Vector;

import model.basics.ClassRoom;
import model.basics.Instructor;
import model.basics.MobileResource;
import model.basics.Resource;
import model.search.System;
public class Main {


	public static void main(String[] args) {

		
		ClassRoom cr1 = new ClassRoom(001, 30, "aula1");
		ClassRoom cr2 = new ClassRoom(002, 25, "aula2");
		List<ClassRoom> crs = new Vector<ClassRoom>();
		
		Resource r1 = new Resource("r1");
		Resource r2 = new Resource("r2");
		Resource r3 = new Resource("r3");
		Resource r4 = new Resource("r4");
		HashMap<Resource, Integer> hmr = new HashMap<Resource, Integer>();
		hmr.put(r1, 12);
		hmr.put(r2, 2);
		hmr.put(r3, 0);
		hmr.put(r4, 45);
		List<Resource> res = new Vector<Resource>();
		res.add(r1);
		res.add(r2);
		res.add(r3);
		res.add(r4);
		
		HashMap<Resource, Integer> generalRes = new HashMap<Resource, Integer>();
		generalRes.put(r1, 22);
		generalRes.put(r2, 22);
		generalRes.put(r3, 40);
		generalRes.put(r4, 55);
		
		
		cr1.changeOperationalStatus(true);
		cr1.setResources(hmr);
		cr2.setResources(new HashMap<Resource, Integer>());
		crs.add(cr2);
		crs.add(cr1);

		System sis = new System(crs,new HashMap<MobileResource, Integer>(),new Vector<MobileResource>(),generalRes,res,new Vector<Instructor>(),new HashMap<String, String>());
		
		new ClassroomPanel();
		
	}

}
